
package com.service;

import java.util.List;
import java.util.Map;

import com.model.UserInfo;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.entity.UserEntity;
import com.utils.PageUtils;


/**
 * 系统用户
 */
public interface UserService extends IService<UserEntity> {

   	List<UserEntity> selectListView(Wrapper<UserEntity> wrapper);
   	
   	PageUtils queryPage(Map<String, Object> params,Wrapper<UserEntity> wrapper);

    UserInfo getUserByName(String username);

	Integer findCount(String name);

	List<UserInfo> findUsers(String name, Integer pageIndex, Integer pageSize);

	void saveUser(UserInfo userInfo);

	UserInfo getUserById(Long id);

	void updateUser(UserInfo userInfo);

    void delUser(List<Long> idList);

	List<UserInfo> getAllTeacher();

	void updateUserInfo(Long id, String username, String password);
}
